package com.sl.au.service;

import java.util.List;

import com.sl.au.entity.AuditNode;
import com.sl.au.repository.AuditNodeRepository;

public interface AuditNodeService extends BaseService {

	AuditNodeRepository getRepository();
	
	/**返回所有已审批和未审批节点用于用户查看	
	 * @param pInstId审批流程实例ID
	 * @param entityId审批实体ID
	 * @return
	 */
	List<AuditNode> getAll(String pInstId,String entityId);
	

	/**返回所有已审批和未审批节点用于用户查看	
	 * @param pInstId审批流程实例ID
	 * @param entityId审批实体ID
	 * @return
	 */
	List<AuditNode> getHistoryActivity(String pInstId,String entityId);
	
	
}
